package com.example.dao;

import com.example.domain.Role;

import java.util.List;

public interface RoleDao {
    List<Role> getAll();

    void save(Role role);

    List<Role> getRolesByUserId(Long userId);
}
